package org.action.back;

import org.action.BaseAction;
import org.biz.back.IBackBiz;

/**
 * 
 * 新闻系统后台管理控制器
 * 
 * @Title: BackAction.java
 * @Description:新闻系统(一期)
 * @Copyright: Copyright (c) 2011
 * @Company:北京学邦时代
 * @author 苗有虎
 * @date Oct 23, 2012 11:35:17 AM
 * @version V4.0
 */
public class BackAction extends BaseAction {
	private static final long serialVersionUID = 3540055139611055925L;

	private IBackBiz backBiz = null;

	public IBackBiz getBackBiz() {
		return backBiz;
	}

	public void setBackBiz(IBackBiz backBiz) {
		this.backBiz = backBiz;
	}

	/**
	 * 查看后台管理平台首页
	 * 
	 * @return
	 */
/*	public String toBack() {

		// 系统后台的管理权限;
		request.getSession()
				.setAttribute("grants", this.backBiz.selBackGrant());

		request.getSession().setAttribute("user", this.user);
		this.set("grants", this.backBiz.selBackGrant());
		// 2013.12.30 (add by xy) start
		request.getSession().setAttribute("grants",this.backBiz.selBackGrant());
		request.getSession().setAttribute("admin", this.user);
		// 2013.12.30 (add by xy) end
		return "toBack";
	}*/

	/**
	 * 后台登录
	 * 
	 * @return
	 */
	public String toLogin() {
		return "toLogin";
	}



}
